Mobile Terminal and Method for Starting Shooting on Mobile Terminal

ABSTRACT

A mobile terminal and a method for starting shooting on a mobile terminal, which are used to enable a user of a mobile terminal to capture a view quickly. The mobile terminal includes a camera, a control module, and a button disposed on a housing of a mobile terminal, where the control module is configured to perform detection with respect to the button when the mobile terminal is in standby mode with a lock screen activated, and turn on the camera for shooting when detecting that a pressing operation of a user on the button meets a first preset condition. According to the embodiments of the present disclosure, a user of a mobile terminal can capture a view quickly; therefore, photo shooting experience of the user is improved.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/684,489 filed on Aug. 23, 2017. The U.S. patent application Ser. No.15/684,489 is a continuation of U.S. patent application Ser. No.15/034,011 filed on May 3, 2016, now U.S. Pat. No. 9,787,814. The U.S.patent application Ser. No. 15/034,011 is a U.S. National Stage ofInternational Patent Application No. PCT/CN2013/090445 filed on Dec. 25,2013. All of the aforementioned applications are hereby incorporated byreference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of mobile communications,and in particular, to a mobile terminal and a method for startingshooting on a mobile terminal.

BACKGROUND

Cameras with increasingly more pixels are integrated into mobile phones,and in daily life, people increasingly use mobile phones instead ofdedicated cameras to shoot photos. However, a mobile phone stays at alock screen in most cases. To shoot a photo or video when seeing a novelor special scene or a wonderful moment, a mobile phone user needs tocomplete the following steps: 1) press a power button to lighten thescreen, 2) unlock the screen, 3) start a camera application, 4) switchto a photo or video shooting program, 5) find a shooting range, and 6)press a shooting button. However, a wonderful view is instantaneous andusually has gone by the time the mobile phone user accesses the photo orvideo shooting program.

SUMMARY

Embodiments of the present disclosure provide a mobile terminal and amethod for starting shooting on a mobile terminal, which can improvephoto shooting experience of a user.

A first aspect of the embodiments of the present disclosure provides amobile terminal, including a camera, a control module, and a buttondisposed on a housing of the mobile terminal, wherein the control moduleis configured to perform detection with respect to the button when themobile terminal is in a standby mode with a lock screen activated, andturn on the camera for shooting when detecting that a pressing operationof a user on the button meets a first preset condition.

With reference to the first aspect of the embodiments of the presentdisclosure, in a first implementation manner of the first aspect of theembodiments of the present disclosure, the control module is configuredto when detecting that a duration that the user continuously presses thebutton reaches a preset duration or when detecting that the presetduration that the user continuously presses the button reaches a presetquantity of times, determine that the pressing operation of the user onthe button meets the first preset condition.

With reference to the first aspect of the embodiments of the presentdisclosure, in a second implementation manner of the first aspect of theembodiments of the present disclosure, when detecting that the pressingoperation of the user on the button meets the first preset condition,the control module is configured to turn on the camera to get ready forshooting, and the control module is further configured to after thecamera is turned on to get ready, when detecting that the pressingoperation of the user on the button meets a second preset condition,control the camera to perform shooting, or when detecting that thepressing operation of the user on the button does not meet the secondpreset condition the button meets a second preset condition, turn offthe camera.

With reference to the first aspect of the embodiments of the presentdisclosure, in a third implementation manner of the first aspect of theembodiments of the present disclosure, when detecting that the pressingoperation of the user on the button meets the first preset condition,the control module is configured to control the camera to turn on andperform shooting.

With reference to the first aspect of the embodiments of the presentdisclosure, in a fourth implementation manner of the first aspect of theembodiments of the present disclosure, after the mobile terminal isunlocked, when the pressing operation of the user on the button meets athird preset condition, the control module controls the mobile terminalto implement a default function corresponding to the button.

With reference to the first aspect of the embodiments of the presentdisclosure, or the first implementation manner of the first aspect, orthe second implementation manner of the first aspect, or the thirdimplementation manner of the first aspect, or the fourth implementationmanner of the first aspect, in a fifth implementation manner of thefirst aspect of the embodiments of the present disclosure, the buttonincludes a first button and a second button, when detecting that apressing operation of the user on the first button meets the firstpreset condition, the control module turns on the camera for videoshooting, and when detecting that a pressing operation of the user onthe second button meets the first preset condition, the control moduleturns on the camera for photo shooting.

With reference to the first aspect of the embodiments of the presentdisclosure, or the first implementation manner of the first aspect, orthe second implementation manner of the first aspect, or the thirdimplementation manner of the first aspect, or the fourth implementationmanner of the first aspect, in a sixth implementation manner of thefirst aspect of the embodiments of the present disclosure, the mobileterminal is provided with a setting option configured for the user toselect whether to shoot one photo or continually shoot a preset quantityof photos when the control module turns on the camera for photoshooting.

With reference to the first aspect of the embodiments of the presentdisclosure, or the first implementation manner of the first aspect, orthe second implementation manner of the first aspect, or the thirdimplementation manner of the first aspect, or the fourth implementationmanner of the first aspect, in a seventh implementation manner of thefirst aspect of the embodiments of the present disclosure, the mobileterminal is provided with a setting option configured for the user toset automatic video shooting duration since the control module turns onthe camera for video shooting.

With reference to the first aspect of the embodiments of the presentdisclosure, or the first implementation manner of the first aspect, orthe second implementation manner of the first aspect, or the thirdimplementation manner of the first aspect, or the fourth implementationmanner of the first aspect, in an eighth implementation manner of thefirst aspect of the embodiments of the present disclosure, the mobileterminal is further provided with a viewfinder.

A second aspect of the embodiments of the present disclosure provides amethod for starting shooting on a mobile terminal, including when themobile terminal is in standby mode with a lock screen activated,performing detection with respect to a button on a housing of the mobileterminal, and when it is detected that a pressing operation of a user onthe button meets a first preset condition, turning on a camera forshooting.

With reference to the second aspect of the embodiments of the presentdisclosure, in a first implementation manner of the second aspect of theembodiments of the present disclosure, the method further includes whenit is detected that duration that the user continually presses thebutton reaches preset duration or when it is detected that presetduration that the user continually presses the button reaches a presetquantity of times, determining that the pressing operation of the useron the button meets the first preset condition.

With reference to the second aspect of the embodiments of the presentdisclosure, or the first implementation manner of the second aspect, ina second implementation manner of the second aspect of the embodimentsof the present disclosure, the turning on a camera for shooting includesturning on the camera to get ready for shooting, and after the camera isturned on to get ready, when it is detected that the pressing operationof the user on the button meets a second preset condition, controllingthe camera to perform shooting, or when it is detected that the pressingoperation of the user on the button does not meet a second presetcondition, turning off the camera.

With reference to the second aspect of the embodiments of the presentdisclosure, or the first implementation manner of the second aspect, ina third implementation manner of the second aspect of the embodiments ofthe present disclosure, the turning on a camera for shooting includescontrolling the camera to turn on and perform shooting.

With reference to the second aspect of the embodiments of the presentdisclosure, or the first implementation manner of the second aspect, ina fourth implementation manner of the second aspect of the embodimentsof the present disclosure, the method further includes after the mobileterminal is unlocked, when the pressing operation of the user on thebutton meets a third preset condition, controlling the mobile terminalto implement a default function corresponding to the button.

With reference to the second aspect of the embodiments of the presentdisclosure, or the first implementation manner of the second aspect, ina fifth implementation manner of the second aspect of the embodiments ofthe present disclosure, the button includes a first button and a secondbutton, and when it is detected that a pressing operation of the user onthe first button meets the first preset condition, the camera is turnedon for video shooting, or when it is detected that a pressing operationof the user on the second button meets the first preset condition, thecamera is turned on for photo shooting.

In the embodiments of the present disclosure, when a mobile terminal isin standby mode with a lock screen activated, a camera is turned on forshooting when a detection module detects that a pressing operation of auser on a button meets a first preset condition. As can be seen from theforegoing technical solutions, the embodiments of the present disclosurehave the advantage of improving the photo shooting experience of suchthat a user can capture a wonderful view quickly.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 and FIG. 2 are schematic diagrams of an embodiment of a mobileterminal in embodiments of the present disclosure.

FIG. 3 is a schematic diagram of an embodiment of a method for startingshooting on a mobile terminal in the embodiments of the presentdisclosure.

FIG. 4 is a schematic diagram of another embodiment of a method forstarting shooting on a mobile terminal in the embodiments of the presentdisclosure.

FIG. 5 is a schematic diagram of another embodiment of a method forstarting shooting on a mobile terminal in the embodiments of the presentdisclosure.

FIG. 6 is a schematic diagram of another embodiment of a method forstarting shooting on a mobile terminal in the embodiments of the presentdisclosure.

FIG. 7 is a schematic diagram of another embodiment of a method forstarting shooting on a mobile terminal in the embodiments of the presentdisclosure.

DESCRIPTION OF EMBODIMENTS

Embodiments of the present disclosure provide a mobile terminal and amethod for starting shooting on a mobile terminal, so that a user of amobile terminal can capture a view quickly, therefore, photo shootingexperience of the user is improved.

To make persons skilled in the art understand the technical solutions inthe present disclosure better, the following clearly and completelydescribes the technical solutions in the embodiments of the presentdisclosure with reference to the accompanying drawings in theembodiments of the present disclosure. The described embodiments aremerely some rather than all of the embodiments of the presentdisclosure. All other embodiments obtained by persons of ordinary skillin the art based on the embodiments of the present disclosure withoutcreative efforts shall fall within the protection scope of the presentdisclosure.

Referring to FIG. 1 and FIG. 2, an embodiment of a mobile terminal inthe embodiments of the present disclosure includes a camera 101, acontrol module, and a button disposed on a housing of a mobile terminal100, wherein the mobile terminal 100 may be a mobile phone, a tabletcomputer, or another mobile terminal provided with a camera, and thecontrol module may be a processor. Certainly, the foregoing descriptionis only exemplary and does not impose any limitation.

The control module is configured to perform detection with respect tothe button when the mobile terminal 100 is in standby mode with a lockscreen activated, and turn on the camera 101 for shooting when detectingthat a pressing operation of a user on the button meets a first presetcondition.

The button may be a physical button on the housing of the mobileterminal 100 or a virtual button. When the pressing operation on thebutton meets the first preset condition, the control module turns on thecamera 101 for a photo shooting operation or a video shooting operation.

In this embodiment, when a mobile terminal is in standby mode with alock screen activated, a camera, such as the camera 101, is turned onfor shooting when a detection module detects that a pressing operationof a user on a button meets a first preset condition, so that a user ofthe mobile terminal can capture a wonderful view quickly, without theneed to perform the multiple steps mentioned in the background to turnon a camera for shooting, therefore, photo shooting experience of theuser is improved.

In this embodiment, the control module may be configured to whendetecting that a duration that the user continually presses the buttonreaches a preset duration or when detecting that the preset durationthat the user continually presses the button reaches a preset quantityof times, determine that the pressing operation of the user on thebutton meets the first preset condition. For example, when detectingthat the user holds down the button for 1.5 seconds, or when detectingthat the user continually presses the button two times and holds downthe button for one second or 1.5 seconds each, the control moduledetermines that the pressing operation of the user on the button meetsthe first preset condition. Certainly, the foregoing button pressingtime and quantity of times of continual button pressing are onlyexemplary and do not impose any limitation.

For some mobile terminals, a relatively long time is required to turn ona camera. To realize quick capture, the mobile terminal in thisembodiment may be further set in a manner that, when detecting that thepressing operation of the user on the button meets the first presetcondition, the control module is configured to first turn on the camerato get ready for a shooting operation. The control module is furtherconfigured to, after the camera is turned on to get ready and whendetecting that the pressing operation of the user on the button meets asecond preset condition, control the camera to perform a shootingoperation. When the control module detects that the pressing operationof the user on the button does not meet the second preset condition,turn off the camera.

For example, when detecting that the duration that the user continuallypresses the button reaches one second, the control module turns on thecamera to get ready for shooting. The camera does not perform a shootingoperation until it is detected that the duration that the usercontinually presses the button reaches 1.5 seconds or that the button ispressed again for one second immediately after the button has beenpressed for one second. After the camera is turned on to get ready, ifthe control module detects that the duration that the user continuallypresses the button is shorter than 1.5 seconds, or that the button isnot pressed again for one second immediately after the button has beenpressed for one second, the camera is turned off. Certainly, theforegoing descriptions about the first preset condition and the secondpreset condition are only exemplary and do not impose any limitation.

For some mobile terminals, such as the mobile terminal 100, a relativelyshort time is required to turn on a camera. Then, the mobile terminalmay be set in a manner that, when detecting that the pressing operationof the user on the button meets the first preset condition, the controlmodule is configured to control the camera to turn on and perform ashooting operation.

In this embodiment, after the mobile terminal is unlocked, when thepressing operation of the user on the button meets a third presetcondition, the control module may be further configured to control themobile terminal to implement a default function corresponding to thebutton. For example, the button is a volume up button disposed on thehousing of the mobile terminal. When the mobile terminal is in standbymode with a lock screen activated, the camera can be turned on whenduration that the volume up button is continually pressed reaches twoseconds, after the mobile terminal is unlocked, each time the volume upbutton is pressed, a preset volume value of a sound played by the mobileterminal can be increased. In this way, it is unnecessary to provide anadditional button on a surface of the housing of the mobile terminal,and an existing button on the surface of the housing of the mobileterminal is utilized to turn on the camera quickly, requiring noadditional physical costs.

Preferably, the button described in this embodiment includes a firstbutton 103 a and a second button 103 b. When detecting that a pressingoperation of the user on the first button 103 a meets the first presetcondition, the control module turns on the camera 101 for a videoshooting operation, and when detecting that a pressing operation of theuser on the second button 103 b meets the first preset condition, thecontrol module turns on the camera 101 for a photo shooting operation.For example, the first button 103 a is a volume up button, and thesecond button 103 b is a volume down button. After a video shootingoperation starts to be performed, the control module may be furtherconfigured to turn off the camera when detecting that the second button103 b is pressed again by the user.

Certainly, in actual application, the button may also include only onebutton. Correspondingly, the mobile terminal may be set in a mannerthat, the control module controls, when detecting that the pressingoperation of the user on the button meets the first preset condition,the camera to turn on and perform a photo shooting operation, andcontrols, when detecting that the pressing operation of the user on thebutton meets a fourth preset condition, the camera to turn on andperform a video shooting operation. Alternatively, the mobile terminalmay be set in a manner that, the control module turns, when detectingthat the pressing operation of the user on the button meets the firstpreset condition, on the camera to get ready for a photo shootingoperation, and controls, when the second preset condition is met, thecamera to perform a photo shooting operation, or turns off the camera ifthe second preset condition is not met, and the control module turns,when detecting that the pressing operation of the user on the buttonmeets a fourth preset condition, on the camera to get ready for a videoshooting operation, and controls, when a fifth preset condition is met,the camera to perform a video shooting operation, or turns off thecamera if the fifth preset condition is not met. Certainly, a sequencefor the photo shooting operation and the video shooting operation in theforegoing example is changeable.

For example, when detecting that the duration that the user continuallypresses the button reaches 1 second but is shorter than 1.5 seconds, thecontrol module controls the camera to turn on and perform a photoshooting operation, and when detecting that the duration that the usercontinually presses the button reaches 2 seconds, the control modulecontrols the camera to turn on and perform a video shooting operation.Alternatively, the control module turns, when detecting that theduration that the user continuously presses the button reaches 0.5second, on the camera to get ready for a photo shooting operation,controls, when detecting that the duration that the user continuouslypresses the button reaches 1 second but is shorter than 1.5 seconds, thecamera to perform a photo shooting operation, and turns off the cameraif detecting that the duration that the user continually presses thebutton reaches 0.5 second but does not reach 1 second. The controlmodule turns, when detecting that the duration that the user continuallypresses the button reaches 2 seconds, on the camera to get ready for avideo shooting operation, controls, when detecting that the durationthat the user continually presses the button reaches 2.5 seconds, thecamera to perform a video shooting operation, and turns off the cameraif detecting that the duration that the user continually presses thebutton reaches 2 seconds but does not reach 2.5 seconds. In addition,after the camera starts to perform a video shooting operation, thecontrol module may be further configured to turn off the camera whendetecting that the button is pressed again by the user. Certainly, theforegoing description about each preset condition is only exemplary anddoes not impose any limitation.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to select whether to shoot onephoto or continually shoot a preset quantity of photos when the controlmodule turns on the camera 101 for photo shooting.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to set automatic video shootingduration after the control module turns on the camera 101 for videoshooting, so that the camera 101 is automatically turned off afterperforming shooting for the preset duration since being turned on.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to set whether to enable afunction of turning on the camera quickly upon button pressing when themobile terminal is in standby mode with a lock screen activated.

In this embodiment, when the mobile terminal 100 is in standby mode witha lock screen activated, the control module is configured to turn on adisplay screen 107 of the mobile terminal 100 while turning on thecamera 101, where the display screen is configured to display a viewcaptured by the camera 101, allowing the user to control a view to beshot.

Alternatively, the control module may skip turning on the display screenof the mobile terminal 100, and instead, the mobile terminal 100 isprovided with a viewfinder 105, so that the user uses the viewfinder 105to capture a view to be shot. In this way, the mobile terminal may befurther set in a manner that, after the camera is turned on and performsa shooting operation when the mobile terminal is in standby mode with alock screen activated, the screen is lightened by pressing a powerbutton of the mobile terminal, and a common shooting mode is enteredusing the display screen, so that the user can control shootingmanually.

In this embodiment, when turning on the camera for a photo shootingoperation or to start performing a video shooting operation, the controlmodule may be further configured to control the mobile terminal to makea sound or vibrate to alert the user.

The foregoing describes a mobile terminal in the embodiments of thepresent disclosure, and the following describes a method for startingshooting on a mobile terminal, such as the mobile terminal 100 of FIG.1, in the embodiments of the present disclosure. Referring to FIG. 3, anembodiment of a method for starting shooting on the mobile terminal inthe embodiments of the present disclosure includes the following steps.

301: When the mobile terminal is in standby mode with a lock screenactivated, perform detection with respect to a button on a housing ofthe mobile terminal.

The mobile terminal may be a mobile phone, a tablet computer, or anothermobile terminal provided with a camera, such as camera 101 of FIG. 1.

302: When it is detected that a pressing operation of a user on thebutton meets a first preset condition, turn on a camera for shooting.

The button may be a physical button on the housing of the mobileterminal or a virtual button. When the pressing operation on the buttonmeets the first preset condition, the camera is turned on for a photoshooting operation or a video shooting operation.

In the embodiment of the present disclosure, when a mobile terminal isin standby mode with a lock screen activated, a camera is turned on forshooting when it is detected that a pressing operation of a user on abutton meets a first preset condition, so that a user of a mobileterminal can capture a wonderful view quickly, therefore, photo shootingexperience of the user is improved.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to select whether to shoot onephoto or continually shoot a preset quantity of photos when the controlmodule turns on the camera for photo shooting.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to set automatic video shootingduration after the camera is turned on for video shooting, so that thecamera is automatically turned off after performing shooting for thepreset duration since being turned on.

In this embodiment, the mobile terminal may be further provided with asetting option configured for the user to set whether to enable afunction of turning on the camera quickly upon button pressing when themobile terminal is in standby mode with a lock screen activated.

In this embodiment, when the mobile terminal is in standby mode with alock screen activated, a display screen of the mobile terminal may beturned on while the camera is turned on, so that the display screen isconfigured to display a view captured by the camera, allowing the userto control a view to be shot.

Alternatively, turning on the display screen of the mobile terminal maybe skipped while the camera is turned on, and instead, the mobileterminal is provided with a viewfinder, so that the user uses theviewfinder to capture a view to be shot. In this way, the mobileterminal may be further set in a manner that, after the camera is turnedon and performs a shooting operation when the mobile terminal is instandby mode with a lock screen activated, the screen is lightened bypressing a power button of the mobile terminal, and a common shootingmode is entered using the display screen, so that the user can controlshooting manually.

In this embodiment, when the camera is turned on for a photo shootingoperation or to start performing a video shooting operation, the mobileterminal may be further controlled to make a sound or vibrate to alertthe user.

Referring to FIG. 4, another embodiment of a method for startingshooting on a mobile terminal, such as the mobile terminal 100 of FIG.1, in the embodiments of the present disclosure includes the followingsteps.

401: When the mobile terminal is in standby mode with a lock screenactivated, perform detection with respect to a button on a housing ofthe mobile terminal.

402: When it is detected that duration that a user continually pressesthe button reaches preset duration or when it is detected that presetduration that a user continually presses the button reaches a presetquantity of times, turn on a camera, such as the camera 100 of FIG. 1,for shooting.

For example, when it is detected that the user holds down the button for1.5 seconds, or when it is detected that the user presses the button fortwo times continually and each time holds down the button for one secondor 1.5 seconds, the camera is turned on for shooting. Certainly, theforegoing button pressing time and quantity of times of continual buttonpressing are only exemplary and do not impose any limitation.

Referring to FIG. 5, another embodiment of a method for startingshooting on a mobile terminal, such as the mobile terminal 100 in FIG.1, in the embodiments of the present disclosure includes the followingsteps.

501: When the mobile terminal is in standby mode with a lock screenactivated, perform detection with respect to a button on a housing ofthe mobile terminal.

502: When it is detected that a pressing operation of a user on thebutton meets a first preset condition, turn on a camera, such as thecamera 101 of FIG. 1, to get ready for shooting.

503: After the camera is turned on to get ready, when it is detectedthat the pressing operation of the user on the button meets a secondpreset condition, control the camera to perform a shooting operation, orwhen it is detected that the pressing operation of the user on thebutton does not meet the second preset condition, turn off the camera.

For example, when it is detected that the duration that the usercontinually presses the button reaches one second, the camera is turnedon to get ready for shooting, and when it is detected that the durationthat the user continually presses the button reaches 1.5 seconds or thebutton is pressed again for one second immediately after the button hasbeen pressed for one second, the camera is controlled to perform ashooting operation. After the camera is turned on to get ready, if it isdetected that the duration that the user continually presses the buttonis shorter than 1.5 seconds, or the button is not pressed again for onesecond immediately after the button has been pressed for one second, thecamera is turned off. Certainly, the foregoing descriptions about thefirst preset condition and the second preset condition are onlyexemplary and do not impose any limitation.

In this embodiment, through phased operations, a camera that startsrelatively slow can be turned on earlier to implement quick capture.

Certainly, for some mobile terminals, a relatively short time isrequired to turn on a camera. Then, the mobile terminal may be set in amanner that, when it is detected that the pressing operation of the useron the button meets the first preset condition, the camera is turned onand performs a shooting operation.

Referring to FIG. 6, another embodiment of a method for startingshooting on a mobile terminal, such as the mobile terminal 100 of FIG.1, in the embodiments of the present disclosure includes the followingsteps.

601: When the mobile terminal is in standby mode with a lock screenactivated, perform detection with respect to a button on a housing ofthe mobile terminal.

602: When it is detected that a pressing operation of a user on thebutton meets a first preset condition, turn on a camera, such as thecamera 101, of FIG. 1, for shooting.

603: When the mobile terminal is unlocked, when the pressing operationof the user on the button meets a third preset condition, control themobile terminal to implement a default function corresponding to thebutton.

For example, the button is a power button. When the mobile terminal isin standby mode with a lock screen activated, when it is detected thatduration that the power button is continually pressed by the userreaches one second, the camera is turned on for shooting, and when themobile terminal is unlocked, when the duration that the power button iscontinually pressed by the user reaches two seconds, the mobile terminalis controlled to power off. Certainly, the foregoing button selectionand the first and third preset conditions are only exemplary and do notimpose any limitation. It is worth noting that the first presetcondition and the third preset condition may be same or may bedifferent.

In this embodiment, it is unnecessary to provide an additional button ona surface of the housing of the mobile terminal, and an existing buttonon the surface of the housing of the mobile terminal is utilized to turnon the camera quickly, requiring no additional physical costs.

Referring to FIG. 7, another embodiment of a method for startingshooting on a mobile terminal, such as the mobile terminal 100 of FIG.1, in the embodiments of the present disclosure includes the followingsteps.

701: When the mobile terminal is in standby mode with a lock screenactivated, separately perform detection with respect to a first buttonand a second button on a housing of the mobile terminal.

702: When it is detected that a pressing operation of a user on thefirst button meets a first preset condition, turn on a camera, such asthe camera 101 of FIG. 1, for video shooting, and when it is detectedthat a pressing operation of the user on the second button meets thefirst preset condition, turn on the camera for photo shooting.

For example, the first button is a volume up button, and the secondbutton is a volume down button. After a video shooting operation startsto be performed, the camera may be further turned off when it isdetected that the second button is pressed again by the user.

In this embodiment, the two buttons are set to respectivelycorresponding to a photo shooting operation and a video shootingoperation of the camera, so that the user can select a camera operationmore conveniently for quick capture.

Certainly, in actual application, the button may also include only onebutton. Correspondingly, the mobile terminal may be set in a mannerthat, when it is detected that the pressing operation of the user on thebutton meets the first preset condition, the camera is turned on andperforms a photo shooting operation, and when it is detected that thepressing operation of the user on the button meets a fourth presetcondition, the camera is turned on and performs a video shootingoperation. Alternatively, the mobile terminal may be set in a mannerthat, when it is detected that the pressing operation of the user on thebutton meets the first preset condition, the camera is turned on to getready for a photo shooting operation, and when a second preset conditionis met, the camera is controlled to perform a photo shooting operation,or the camera is turned off if the second preset condition is not met,and when it is detected that the pressing operation of the user on thebutton meets a fourth preset condition, the camera is turned on to getready for a video shooting operation, and when a fifth preset conditionis met, the camera is controlled to perform a video shooting operation,or the camera is turned off if the fifth preset condition is not met.Certainly, a sequence for the photo shooting operation and the videoshooting operation described in the foregoing example is changeable.

For example, when it is detected that the duration that the usercontinually presses the button reaches 1 second but is shorter than 1.5seconds, the camera is turned on and performs a photo shootingoperation, and when it is detected that the duration that the usercontinually presses the button reaches 2 seconds, the camera is turnedon and performs a video shooting operation. Alternatively, when it isdetected that the duration that the user continually presses the buttonreaches 0.5 second, the camera is turned on to get ready for a photoshooting operation, when it is detected that the duration that the usercontinually presses the button reaches 1 second but is shorter than 1.5seconds, the camera is controlled to perform a photo shooting operation,and if the it is detected that the duration that the user continuallypresses the button reaches 0.5 second but does not reach 1 second, thecamera is turned off. When it is detected that the duration that theuser continually presses the button reaches 2 seconds, the camera isturned on to get ready for a video shooting operation, when it isdetected that the duration that the user continually presses the buttonreaches 2.5 seconds, the camera is controlled to perform a videoshooting operation, and if the it is detected that the duration that theuser continually presses the button reaches 2 seconds but does not reach2.5 seconds, the camera is turned off. In addition, after the camerastarts to perform a video shooting operation, the camera may be furtherturned off when it is detected that the button is pressed again by theuser. Certainly, the foregoing description about each preset conditionis only exemplary and does not impose any limitation.

For ease of understanding, the following uses an actual applicationscenario to describe the method for starting shooting on a mobileterminal in this embodiment.

On a housing of the mobile terminal, the mobile terminal is providedwith two physical buttons including a volume up button and a volume downbutton, a camera, and a viewfinder. Using setting options in the mobileterminal, a user may, in advance, set that a function of turning on thecamera quickly upon button pressing when the mobile terminal is instandby mode with a lock screen activated, set that three photos arecontinually shot when the camera is turned on for photo shooting, andset automatic video shooting duration after the camera is turned on forvideo shooting to twenty minutes.

When the mobile terminal is in standby mode with a lock screenactivated, when it is detected that duration that the volume up buttonis continually pressed by the user reaches 1 second, the camera isturned on, and when it is detected that total duration that the volumeup button is continually pressed by the user reaches 1.5 seconds, thecamera is controlled to continually shoot three photos, and the mobileterminal is controlled to make a sound or vibrate to alert the user.

When it is detected that duration that the volume down button iscontinually pressed by the user reaches 1 second, the camera is turnedon, when it is detected that total duration that the volume down buttonis continually pressed by the user reaches 1.5 seconds, the camera iscontrolled to start performing a video shooting operation, and themobile terminal is controlled to make a sound or vibrate to alert theuser, and the camera is automatically turned off after twenty minutes ofvideo shooting. Within twenty minutes after the camera starts performingthe video shooting operation, when it is detected that the user pressesthe volume down button again, the camera is turned off and the videoshooting operation is ended.

In the foregoing camera shooting process, a view captured by the camerais a view seen by the user using the viewfinder of the mobile terminal.

After the mobile terminal is unlocked, each time when it is detectedthat the volume up button is pressed by the user, a preset volume valueof a sound made by the mobile terminal is increased, and each time whenit is detected that the volume down button is pressed by the user, thepreset volume value of a sound made by the mobile terminal is decreased.

The foregoing embodiments are merely intended to describe the technicalsolutions of the present disclosure, but not to limit the presentdisclosure. Although the present disclosure is described in detail withreference to the foregoing embodiments, persons of ordinary skill in theart should understand that they may still make modifications to thetechnical solutions described in the foregoing embodiments or makeequivalent replacements to some technical features thereof, withoutdeparting from the spirit and scope of the technical solutions of theembodiments of the present disclosure.

1. A mobile terminal, comprising: a camera; a display screen; aprocessor coupled to the camera and the display screen; and a housingcoupled to the camera and the display screen and comprising a buttoncoupled to the processor, wherein the processor is configured to:perform detection with respect to the button when the mobile terminal isin a standby mode with a locked screen; turn on the camera to preparefor shooting and turn on the display screen to display a view capturedby the camera when detecting that a pressing operation of a user on thebutton meets a first preset condition; and control the mobile terminalto implement a default function corresponding to the button alter theterminal is unlocked and when the pressing operation of the user on thebutton meets a second preset condition.
 2. The mobile terminal of claim1, wherein the processor is further configured to control the camera toperform shooting after the camera is turned on to prepare for shootingand when detecting that the pressing operation of the user on the buttonmeets a third preset condition.
 3. The mobile terminal of claim 1,wherein the processor is further configured to turn off the camera afterthe camera is turned on to prepare for shooting and when detecting thatthe pressing operation of the user on the button does not meet a thirdpreset condition.
 4. The mobile terminal of claim 2, wherein theprocessor is further configured to control the mobile terminal tovibrate to alert the user when the camera shoots.
 5. The mobile terminalof claim 2, wherein the processor is further configured to determinethat the pressing operation of the user on the button meets the firstpreset condition when detecting that a duration that the usercontinually presses the button reaches a preset duration.
 6. The mobileterminal of claim 2, wherein the processor is further configured todetermine that the pressing operation of the user on the button meetsthe first preset condition when detecting that a quantity of times thatthe user continually presses the button reaches a preset quantity oftimes.
 7. The mobile terminal of claim 1, wherein the default functioncorresponding to the button comprises adjusting a volume value of asound made by the mobile terminal.
 8. The mobile terminal of claim 7,wherein adjusting the volume value comprises increasing the volume valueof the sound made by the mobile terminal.
 9. The mobile terminal ofclaim 1, wherein the housing further comprises a second button, andwherein the processor is further configured to: turn on the camera forvideo shooting when detecting that the pressing operation of the user onthe button meets the first preset condition; and turn on the camera forphoto shooting when detecting that the pressing operation of the user onthe second button meets the first preset condition.
 10. The mobileterminal of claim 1, wherein the mobile terminal is provided with asetting option configured to receive a selection indication of at leastone of whether to shoot one photo or continually shoot a quantity ofphotos when the processor turns on the camera for photo shooting. 11.The mobile terminal of claim 1, wherein the mobile terminal is providedwith a setting option configured to receive an automatic video shootingduration since the processor turns on the camera for video shooting. 12.The mobile terminal of claim 1, wherein the mobile terminal is furtherprovided with a viewfinder.
 13. A method for starting shooting on amobile terminal, wherein the mobile terminal comprises a camera, adisplay screen, a processor coupled to the camera and the displayscreen, and a housing coupled to the camera and the display screen, thehousing comprising a button, and the method comprising: performingdetection with respect to the button when the mobile terminal is in astandby mode with a locked screen; turning on the camera to prepare forshooting and turning on the display screen to display a view captured bythe camera when detecting that a pressing operation of a user on thebutton meets a first preset condition; and controlling the mobileterminal to implement a default function corresponding to the buttonafter the mobile terminal is unlocked and when the pressing operation ofthe user on the button meets a second preset condition.
 14. The methodof claim 13, further comprising controlling the camera to performshooting after the camera is turned on to prepare for shooting and whendetecting that the pressing operation of the user on the button meets athird preset condition.
 15. The method of claim 13, further comprisingturning off the camera after the camera is turned on to prepare forshooting and when detecting that the pressing operation of the user onthe button does not meet a third preset condition.
 16. The method ofclaim 14, further comprising vibrating the mobile terminal to alert theuser when the camera shoots.
 17. The method of claim 13, furthercomprising determining that the pressing operation of the user on thebutton meets the first preset condition when a duration that the usercontinually presses the button reaches a preset duration.
 18. The methodof claim 13, further comprising determining that the pressing operationof the user on the button meets the first preset condition when aquantity of times that the user continually presses the button reaches apreset quantity of times.
 19. The method of claim 13, wherein thedefault function corresponding to the button comprises adjusting avolume value of a sound made by the mobile terminal.
 20. The method ofclaim 19, wherein adjusting the volume value comprises increasing thevolume value of the sound made by the mobile terminal.